package com.example.hospital.db.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * @TableName login_info
 */
@TableName(value = "login_info")
@Data
public class LoginInfoEntity implements Serializable {
  @TableId(type = IdType.AUTO)
  private Integer id;
  
  private Integer userId;
  
  private Integer type;
  
  private String loginIp;
  
  @TableField(value = "login_date_time", fill = FieldFill.INSERT)
  private String loginDateTime;
  
  @TableLogic(value = "0", delval = "1")     // 0未删除，1删除
  @TableField(value = "del", fill = FieldFill.INSERT)
  private Integer del;
  
  private static final long serialVersionUID = 1L;
}